package cn.hy.preparelesson.common.mapper;

import cn.hy.preparelesson.common.entity.PlFeedbackLessonDetail;
import cn.hy.preparelesson.common.entity.PlFeedbackLessonDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PlFeedbackLessonDetailMapper {
    long countByExample(PlFeedbackLessonDetailExample example);

    int deleteByExample(PlFeedbackLessonDetailExample example);

    int deleteByPrimaryKey(String id);

    int insert(PlFeedbackLessonDetail record);

    int insertSelective(PlFeedbackLessonDetail record);

    List<PlFeedbackLessonDetail> selectByExample(PlFeedbackLessonDetailExample example);

    PlFeedbackLessonDetail selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PlFeedbackLessonDetail record, @Param("example") PlFeedbackLessonDetailExample example);

    int updateByExample(@Param("record") PlFeedbackLessonDetail record, @Param("example") PlFeedbackLessonDetailExample example);

    int updateByPrimaryKeySelective(PlFeedbackLessonDetail record);

    int updateByPrimaryKey(PlFeedbackLessonDetail record);


    int batchSaveFeedBackDetail(@Param("list")List<PlFeedbackLessonDetail> list);

    int deleteBySchoolIdAndFeedBackId(@Param("schoolId")String schoolId, @Param("feedbackId")String feedbackId);
}
